<?php
	/**
	 * Object representing the Flagged table
	 * 
	 * @author Dragan Milchevski
	 * @date 2012-06-21
	 */
	class Flag{
		protected $_id;
		protected $_user;
		protected $_database;
		protected $_uid;

		public function __construct($_id, $_user, $_database, $_uid){
			$this->_id = $_id;
			$this->_user = $_user;
			$this->_database = $_database;
			$this->_uid = $_uid;
		}
		/**
		 * @return the $_id
		 */
		public function getId() {
			return $this->_id;
		}

		/**
		 * @return the $_user
		 */
		public function getUser() {
			return $this->_user;
		}

		/**
		 * @return the $_database
		 */
		public function getDatabase() {
			return $this->_database;
		}

		/**
		 * @return the $_uid
		 */
		public function getUid() {
			return $this->_uid;
		}

		/**
		 * @param field_type $_id
		 */
		public function setId($_id) {
			$this->_id = $_id;
		}

		/**
		 * @param field_type $_user
		 */
		public function setUser($_user) {
			$this->_user = $_user;
		}

		/**
		 * @param field_type $_database
		 */
		public function setDatabase($_database) {
			$this->_database = $_database;
		}

		/**
		 * @param field_type $_uid
		 */
		public function setUid($_uid) {
			$this->_uid = $_uid;
		}
	}
?>